import request from '@/utils/request'

// 查询achievementcheck列表
export function listAchievementcheck(query) {
  return request({
    url: '/teacher/achievementcheck/list',
    method: 'get',
    params: query
  })
}

// 查询achievementcheck详细
export function getAchievementcheck(checkId) {
  return request({
    url: '/teacher/achievementcheck/' + checkId,
    method: 'get'
  })
}

// 新增achievementcheck
export function addAchievementcheck(data) {
  return request({
    url: '/teacher/achievementcheck/add',
    method: 'post',
    data: data
  })
}

// 修改achievementcheck
export function updateAchievementcheck(data) {
  return request({
    url: '/teacher/achievementcheck/update',
    method: 'post',
    data: data
  })
}

// 删除achievementcheck
export function delAchievementcheck(checkId) {
  return request({
    url: '/teacher/achievementcheck/' + checkId,
    method: 'post'
  })
}

// 删除achievementcheck
export function delAchievementcheckByTeacherId(teacherId) {
  return request({
    url: '/teacher/achievementcheck/' + teacherId,
    method: 'post'
  })
}
